package com.woniu.his.service.impl;

import com.woniu.his.entity.PatientInfo;
import com.woniu.his.dao.PatientInfoMapper;
import com.woniu.his.service.IPatientInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author TATO
 * @since 2019-11-25
 */
@Service
public class PatientInfoServiceImpl extends ServiceImpl<PatientInfoMapper, PatientInfo> implements IPatientInfoService {

    @Autowired
    private PatientInfoMapper patientInfoMapper;


    @Override
    public PatientInfo selectPatientInfoByPatientId(int patientId) {
        return patientInfoMapper.selectPatientInfoByPatientId(patientId);
    }
}
